fs-back: build fixes
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 18 Mar 2009 13:25:25 +0000 (13:25 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 18 Mar 2009 13:25:25 +0000 (13:25 +0000)
commitb832b2b46c085ac4f3cf7983277a9f77e7614167
tree573d18db3c7f9f77508456c3bb523781e68540f2
parent0629adfd80e38fc3637690ffe08a0ac73c2a9064
fs-back: build fixes

Remove some unused variables and replaces read and write
to the pipe with read_exact and write_exact (these two functions are
implemented in libxc, that we have to link anyway).

This allows fs-backed to be compiled with -D_FORTIFY_SOURCE=2, hence
should fix the problems reported by Boris.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/fs-back/fs-backend.c
tools/fs-back/fs-ops.c